package com.itboye.boyeshoping.util.sputil;

import android.os.Environment;

/**
 * 常量类
 * Created by wsh on 2016/11/28.
 */
public class Const {
    public static final String URL = "http://api.tbk.8raw.com/";//url

    //头像上传接口(需修改)
    public static final String IMAGE_URL = "http://api.ewelisten.com/index.php/file/upload?client_id=by565fa4facdb191";
    public static int time = 0;
    public static final String updaloadURL ="http://api.jp.8raw.com:8087/picture/curl_upload.html?client_id=by_android_test_client_id";

    //单列图片查看接口(需修改)

    public static final String IMAGE_HEAD = "http://api.ewelisten.com/index.php/picture/index?id=";

    //资讯图片查询
    public static final String ZX="http://api.jp.8raw.com:8087/picture/index?id=";
    /**
     * --------------------------- 请求接口公用参数------------------------
     */
    public static String APP_VERSION = "app_version";
    public static String APP_TYPE = "from";
    public static String ITBOYE = "itboye";

    public static String TIME = "time";
    public static String SIGN = "sign";
    public static String DATA = "data";
    public static String TYPE = "service_type";
    public static String ALG = "alg";
    public static String NOTIFY_ID = "notify_id";
    public static String API_VER = "service_version";
    public static String ALG_VALUE = "md5_v2";
    public static final String CLIENT_ID = "by_client_nothing";
    public static final String CLIENT_SECERET = "byTestSecret654321";

    /**
     * sharedpreferences中上次登录用户名字段
     */
    public static final String UID = "uid";

    /**
     * s_id
     */
    public static final String S_ID = "s_id";

    /**
     * 登陆时 用户名
     */

    public static final String USERNAME = "username";
    /**
     * 登陆时 密码
     */
    public static final String LOGIN_PASSWORD = "login_password";

    /**
     * 在线状态
     */
    public static final String ONLINE_STATUS = "online_status";
    /**
     * 阿里百川 密码
     */
    public static final String PASSWORD = "password";
    /**
     * 手机号
     */
    public static final String MOBILE = "mobile";

    /**
     * 邮箱
     */
    public static final String EMAIL = "email";
    /**
     * 性别 0女 1男
     */
    public static final String SEX = "sex";

    /**
     * 昵称
     */
    public static final String NICK = "nickname";
    /**
     * 头像
     */
    public static final String HEAD = "head";
    /**
     * 真实姓名
     */
    public static final String RealName = "realName";

    /**
     * 实名认证
     */
    public  static final String IDENTIFY="identity_validate";
    /**
     * 认证信息
     */
    public static final String ISAUTH = "is_auth";
    /**
     * 是否已经登录
     */
    public static final String IS_LOGINED = "is_logined";


    /**
     * 身份信息
     */
    public static final String ROLER = "roles_doctor";

    /**
     * 在线状态
     */
    public static final String IS_ONLINE = "online_status";

    /**
     * 阿里百川账号
     */
    public static final String ALIBAICHUAN = "alibaichuan_id";


    /**
     * ------------------------- 请求接口公用参数---------------------------
     */
    /**
     * 支付宝回调地址
     */
    public static final String zhifubao_huidiao = "http://api.ewelisten.com/index.php/alipay/notify";
    /**
     * 支付宝支付业务：入参app_id
     */
    public static final String APPID = "2017060607433248";
    /**
     * 支付宝私钥
     */
    public static final String RSA_PRIVATE = "MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDGw+A5PLs9dKFG0Y5VZvefXJwkCBzUywsox4ldi0l4655xASkOddHPhJ56oV5pCMuPDw7EkDs9m9Us706Y4BLWnEsFn1bxpysW+1FdSiuJuEo4QZg2DMGxnfz/NKLtUdjiYJeIQlR4ej/MnFuUxQV3LbKsG7CC+vJ++Oml2wiOoiAZqVRhkyLeW7NeyXpTn/TZESjICyHnZHp+idQWWqpqaFix3qQXBv8P/NWeXmcNt1FQtj72f+6bO3mjTtBi2El47ROb9f+V5/8TZvzOQbxnKE5oB24F87Tr2ajsJS680+28ItkMRLQcZ+ktYn4K/TvC/X2ut9M0tokrp/hXfsWlAgMBAAECggEAZQckjhM3XKpOWy+id/gpPsAUwR+6f9Jgbq7VPE3S33prgybC1o2+Qgs3fj9NPHfy91kA+ZoR8mOlu/w65+tkx96TJ11xFM0SUtEU7yUG8i5Q0z1L/5UGUqBp+tGnSpcCdTYBb4m/Y6lHilmjFv/5ojUBDwfX9QtWfIFKSToGpHAPmHR8zCNIu+3NtJoST9V8o1aRWXs/2O88tot6RiertIyce/HBMPexon+bynhznk6A507IB08V+FUAsC47x3DopLcdzi1jtozx/jRD2v84tA6+iQ8dRgFRN7S8rrl4adS5I44mfw2QxTC54/Q0Two6KcJ8V8UCBZzG79N3LpOBlQKBgQDyTy44sjL1A3RCx3JtyP1dH+amNHUMWFEKSAuISFD5DI2bAeIqtoUX2snkdW/QJaucqUGz3I+RDiFqC3t8fr6sGQso3+P0qUj6EGpk9+Cp4oG6zfLMQwHXSvJpBVncUxjGuUVzqbKVWn2Txnwh8JJ8Vqn+Fj8zzmTRNRzhaPxsFwKBgQDR/ty7DBS+IHNV2+6EKV+Y/Cnh3UJaG+fX20D4UuodmkHeIzcsGOXpvg/bawHNOhdoloUEipZDOfDmKzBXY+gPbM+NmJgmPN9DZBBCSsE7MYpAkrKmv40Uuxoy/KhE1raOkQHSwDa+vbkf/hyzDwvpVJL2KvSCRKjo+2O55xKFowKBgQDmYM4LbbHxLfWNwF9VbjEmJzx+bYWT1SxH4DPGwSrrfznrVKEaBysHgSdPJTDH7+j4LByhy2Rcf9jZIE2qEj9rFOx9UlFDvuf5iT3+/YYHP6okV8cu2c6YSVOs8j97sS3vUxtrWr7GLaETrTU8d6Ruv18kizZQJT3JgvwQfGbyxQKBgQC1hqawWkUkBVEuCywnuswUpwZdZLKSykSj57hF8QbICCygJbjvuaYlZFK4zcuE6I6LrnHV9yblfhSsIvFq2cYkb18Le7kqdLxauQkFBTH8RVrJbwZX9oWyQfrn0Fh1CVZN7zOwRtAMGl0JNtUARCV70cwoWAF9CnUo0QboEMOGGQKBgQDscg2uNKw/CChNZB3NrT7gtyjxdJ0aa1N0MF/TBEzvNZ64VsMlr7nNpxuZ+Y/HBF+2wmdtImmxlL950xTtpgxPLRbLsUp7ViOOY0IY+QMUt8ODEILInCwjeACGPCKUDS12t7qWKm/6O7BgUqaicwboKk6wnBW3TErtHhfh4zvOsA==";

    /**
     * 友盟的别名
     */
    public static final String UMENG_ALIAS = "jinpuyiyuan";

    /**
     * 友盟的devicetoken
     */
    public static final String UMENG_DEVICE = "device_token";
    /**
     * 微信的app_id
     */
    public static final String APP_ID_WX = "wx49cccd968b96ff87";
    public static final String APP_SECRET="27e560a0bd6d4616c81ba9a1f4ba68db";
    /**
     * QQ的app_id
     */
    public static final String APP_ID_QQ = "2580340738";


    //集成 IMKit
    public final static String STORE_PATH = Environment
            .getExternalStorageDirectory().getAbsolutePath()
            + "/openim/images/";



 //金普
    /**
     * openIM的key
     * ceshi 23015524
     * 24734772
     */
    public static final String OPEN_APPKEY = "24734772";

    public static final String Open_APPSECRET="b3b7793a1dfa15b3491545eb7bf34405";

    public static final String DoctorImg="http://avatar.jp.8raw.com:8087?uid=";


}
